package com.asset.dispoal.file.feature.domain.db.mapper;

import com.asset.dispoal.file.feature.domain.db.entity.FileFeatureTable;
import com.asset.dispoal.file.feature.domain.db.entity.FileFeatureTableExpand;
import com.asset.dispoal.file.feature.dto.FileFeatureTableExpandPageRequest;
import com.asset.dispoal.file.feature.dto.FileFeatureTableExpandPageResponse;
import com.asset.dispoal.file.feature.dto.FileFeatureTablePageRequest;
import com.asset.dispoal.file.feature.dto.FileFeatureTablePageResponse;
import org.apache.ibatis.annotations.Mapper;
import tech.mhuang.pacebox.springboot.protocol.data.Page;

import java.util.List;

@Mapper
public interface FileFeatureTableMapper {
    Integer queryPageCount(FileFeatureTablePageRequest request);

    List<FileFeatureTablePageResponse> queryPage(Page<FileFeatureTablePageRequest> page);

    Integer insert(FileFeatureTable fileFeatureTable);

    Integer delete(String id);

    Integer queryExpandPageCount(FileFeatureTableExpandPageRequest request);

    List<FileFeatureTableExpandPageResponse> queryExpandPage(Page<FileFeatureTableExpandPageRequest> page);

    Integer deleteExpand(String id);

    FileFeatureTableExpandPageResponse getExpandById(String id);

    Integer insertExpand(FileFeatureTableExpand fileFeatureTable);

    Integer updateExpand(FileFeatureTableExpand fileFeatureTable);
}
